package com.ruoyi.project.agvQuene.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.persistence.Transient;

/**
 * AGV/CTU执行队列对象 agv_execution
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class AgvExecution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** req_code */
    @Excel(name = "req_code")
    private String reqCode;

    /** 下发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reqTime;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 源站点 */
    @Excel(name = "源站点")
    private String positionCode1;

    /** 目标站点 */
    @Excel(name = "目标站点")
    private String positionCode2;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String type;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    /** 任务号 */
    @Excel(name = "任务号")
    private String taskCode;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private Long status;

    /** 任务号 */
    @Excel(name = "任务号")
    private Long taskNo;

    /**  */
    @Excel(name = "")
    private String spec;

    /**  */
    @Excel(name = "")
    private Long orderid;

    /**  */
    @Excel(name = "")
    private String guid;

    /**  */
    @Excel(name = "")
    private String srcSite;

    /**  */
    @Excel(name = "")
    private String tarSite;

    /**  */
    @Excel(name = "")
    private String createDate;

    /**  */
    @Excel(name = "")
    private String ctnrCode;

    /**  */
    @Excel(name = "")
    private String ctnrTyp;

    /**  */
    @Excel(name = "")
    private String agvType;

    /**  */
    @Excel(name = "")
    private String warehouseId;

    /**  */
    @Excel(name = "")
    private String qq;

    /**  */
    @Excel(name = "")
    private String podCode;

    /**  */
    @Excel(name = "")
    private String podType;

    @Transient
    private Integer isFinish;

    public Integer getIsFinish() {
        return isFinish;
    }

    public void setIsFinish(Integer isFinish) {
        this.isFinish = isFinish;
    }

    public void setReqCode(String reqCode)
    {
        this.reqCode = reqCode;
    }

    public String getReqCode() 
    {
        return reqCode;
    }
    public void setReqTime(Date reqTime) 
    {
        this.reqTime = reqTime;
    }

    public Date getReqTime() 
    {
        return reqTime;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setPositionCode1(String positionCode1) 
    {
        this.positionCode1 = positionCode1;
    }

    public String getPositionCode1() 
    {
        return positionCode1;
    }
    public void setPositionCode2(String positionCode2) 
    {
        this.positionCode2 = positionCode2;
    }

    public String getPositionCode2() 
    {
        return positionCode2;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setTaskCode(String taskCode) 
    {
        this.taskCode = taskCode;
    }

    public String getTaskCode() 
    {
        return taskCode;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setTaskNo(Long taskNo) 
    {
        this.taskNo = taskNo;
    }

    public Long getTaskNo() 
    {
        return taskNo;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setSrcSite(String srcSite) 
    {
        this.srcSite = srcSite;
    }

    public String getSrcSite() 
    {
        return srcSite;
    }
    public void setTarSite(String tarSite) 
    {
        this.tarSite = tarSite;
    }

    public String getTarSite() 
    {
        return tarSite;
    }
    public void setCreateDate(String createDate) 
    {
        this.createDate = createDate;
    }

    public String getCreateDate() 
    {
        return createDate;
    }
    public void setCtnrCode(String ctnrCode) 
    {
        this.ctnrCode = ctnrCode;
    }

    public String getCtnrCode() 
    {
        return ctnrCode;
    }
    public void setCtnrTyp(String ctnrTyp) 
    {
        this.ctnrTyp = ctnrTyp;
    }

    public String getCtnrTyp() 
    {
        return ctnrTyp;
    }
    public void setAgvType(String agvType) 
    {
        this.agvType = agvType;
    }

    public String getAgvType() 
    {
        return agvType;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setQq(String qq) 
    {
        this.qq = qq;
    }

    public String getQq() 
    {
        return qq;
    }
    public void setPodCode(String podCode) 
    {
        this.podCode = podCode;
    }

    public String getPodCode() 
    {
        return podCode;
    }
    public void setPodType(String podType) 
    {
        this.podType = podType;
    }

    public String getPodType() 
    {
        return podType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reqCode", getReqCode())
            .append("reqTime", getReqTime())
            .append("taskType", getTaskType())
            .append("positionCode1", getPositionCode1())
            .append("positionCode2", getPositionCode2())
            .append("type", getType())
            .append("priority", getPriority())
            .append("taskCode", getTaskCode())
            .append("status", getStatus())
            .append("taskNo", getTaskNo())
            .append("spec", getSpec())
            .append("orderid", getOrderid())
            .append("guid", getGuid())
            .append("srcSite", getSrcSite())
            .append("tarSite", getTarSite())
            .append("createDate", getCreateDate())
            .append("ctnrCode", getCtnrCode())
            .append("ctnrTyp", getCtnrTyp())
            .append("agvType", getAgvType())
            .append("warehouseId", getWarehouseId())
            .append("qq", getQq())
            .append("podCode", getPodCode())
            .append("podType", getPodType())
            .toString();
    }
}
